package com.example.qxfw.dysjrh.service.impl;

import com.example.qxfw.dysjrh.entity.vo.LegendVo;
import com.example.qxfw.dysjrh.mapper.LegendMapper;
import com.example.qxfw.dysjrh.service.LegendService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@RequiredArgsConstructor
public class LegendServiceImpl implements LegendService {

    private final LegendMapper legendMapper;

    @Override
    public List<LegendVo> getLegendData(String elementtype) {

        List<LegendVo> legendData = legendMapper.getLegendData(elementtype);

        return legendData;
    }

}
